package com.nwpu.am.constant.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * JwtProperties
 *
 * @author Roy
 * @version 1.0
 * {@code @date} 2024/6/3
 */
@Component
@ConfigurationProperties(prefix = "am.jwt")
@Data
public class JwtProperties {

    /**
     * 员工生成jwt令牌相关配置
     */
    private String userSecretKey;
    private long userTtl;
    private String userTokenName;
}